<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCompanyTable extends Migration
{
    /**
     * @author mais <[<380354618@qq.com>]>
     * 站点管理 company
     * @return void
     */
    public function up()
    {
        Schema::create('company', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name', 32);
            $table->string('meta', 32);
            $table->string('content', 32);
            $table->string('foot', 255);
            $table->string('record', 255);
            $table->string('logo', 32); 
            $table->string('logo_path', 255);
            $table->string('seo_mess', 255);
            $table->string('sttr', 255);
            $table->tinyinteger('state');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('company');
    }
}
